github.com/gotd/td/telegram.Client.dc (method)

4 uses

	github.com/gotd/td/telegram (current package)
		pool.go#L52: func (c *Client) dc(ctx context.Context, dcID int, max int64, dialer mtproto.Dialer) (*pool.DC, error) {
		pool.go#L114: 	return c.dc(ctx, dc, max, c.primaryDC(dc))
		pool.go#L120: 	return c.dc(ctx, dc, max, func(ctx context.Context) (transport.Conn, error) {
		sub_conns.go#L20: 	conn, err := c.dc(ctx, dc, 1, c.primaryDC(dc))